package com.slipper.sfts.api.market.service;

import com.slipper.common.bo.Result;
import com.slipper.common.feign.ServiceClient;
import com.slipper.common.annotation.FeignRequestMapping;
import com.slipper.sfts.api.market.bo.MarketBO;

import org.springframework.web.bind.annotation.RequestBody;

import java.util.List;

/**
 * 交易所信息表
 */
@ServiceClient
public interface IMarketSv {
    @FeignRequestMapping("/market/queryBy")
    Result<MarketBO> queryBy(@RequestBody String id);

    @FeignRequestMapping("/market/queryList")
    Result<List<MarketBO>> queryList(@RequestBody MarketBO bo);

    @FeignRequestMapping("/market/queryPage")
    Result<List<MarketBO>> queryPage(@RequestBody MarketBO bo);

    @FeignRequestMapping("/market/save")
    Result<?> save(@RequestBody MarketBO bo);
    
    @FeignRequestMapping("/market/delete")
    Result<?> delete(@RequestBody MarketBO bo);
}
